

//定义局部路由,这是为了方便自己找到路由,由于项目的路由多余过,这样容易分辨
export default [
    {
        path: '/home',
        name: 'home',
        component: () => import('@/views/main/home.vue')
      },
      {
        path: '/fenlei',
        name: 'fenlei',
        component: () => import('@/views/main/fenlei.vue')
      },
      {
        path: '/news',
        name: 'news',
        component: () => import('@/views/main/news.vue')
      },
      {
        path: '/shopping',
        name: 'shopping',
        component: () => import('@/views/main/shopping.vue')
      },
      {
        path: '/search',
        name: 'search',
        component: () => import('@/views/main/search.vue')
      },
      {
        path: '/my',
        name: 'my',
        component: () => import('@/views/main/my.vue')
      },
]